{if !$inline}
{include file='blog/list.tpl'}

<div id="editor">
{/if}
	
<form method="post" action="/admin/blog/edit.html" id="form" class="remote">
	<div><input type="hidden" name="id" value="{$item.id}" class="input" /></div>
	
	<p>
		<label for="rss">RSS:</label> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
		<input type="checkbox" name="rss" value="1" {if $item.rss}checked="checked"{/if} class="wauto borderless input" id="rss" />
	</p>
	
	<p>Title:</p>
	<input type="text" value="{$item.title|stripslashes|htmlspecialchars}" name="title" id="title" class="required input" />
	
	<p>Body:</p>
	<textarea name="body" rows="10" cols="10" style="width:669px; height: 400px;" id="body" class="required input">{$item.body|stripslashes|htmlspecialchars}</textarea>


	<p class="tright" style="margin-top: 20px;">
		<input type="submit" value="Submit" name="Submit" class="submit" />
	</p>
	
	
	<div style="text-align:right;">
		<p><label for="select-insert">Insert:</label></p>
		<select name="select-insert" id="select-insert" class="wauto"></select>
	</div>
</form>
	
	
{if !$inline}
</div>
<div class="clear"></div>
{/if}